//
//  UIView+Common.h
//  jhjr
//
//  Created by winter on 15/12/29.
//  Copyright © 2015年 DJDG. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Custom)
- (void)removeAllSubViews;
- (void)shake;
@end

@class WDLoadingView;

@interface UIView (Common)

#pragma mark LoadingView

@property (nonatomic, strong) WDLoadingView *loadingView;
/** 开始加载动画 */
- (void)beginLoading;
/** 开始加载动画 */
- (void)beginLoadingWithTip:(NSString *)tip;
/** 结束加载动画 */
- (void)endLoading;

@end

@interface WDLoadingView : UIView;

#pragma mark - loading
- (void)startLoadingWithTip:(NSString *)tip;
- (void)stopLoading;

@end
